/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rom.item;

import java.io.Serializable;

/**
 *
 * @author Luis
 */
public class ItemType implements Serializable{
    
    public static int USABLE_HEALING = 0;
    public static int USABLE_CONSUMED = 11;
    public static int USABLE_OTHER = 2;
    public static int MISC = 3;
    public static int WEAPON = 4;
    public static int ARMOR = 5;
    public static int CARD = 6;
    public static int PET_EGG = 7;
    public static int PET_EQUIP = 8;
    public static int ARROW = 10;
    
    private int type;
    
    public ItemType(int type){
        this.type = type;
    }

    /**
     * @return the type
     */
    public int getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return String.valueOf(getType());
    }
    
}
